package com.sea.finance.service;


import com.sea.finance.entity.Vt;
import com.sea.finance.entity.VtRelated;

import java.io.InputStream;
import java.util.List;
import java.util.Map;

/**
 * @author 陈鸿飞
 */
public interface VtRelatedService {

    Integer save(VtRelated vtRelated);

    Integer usave(VtRelated vtRelated);

    List<VtRelated> findByCnd(VtRelated vtRelated);

    /**
     * 导入SKU
     * @param inputStream
     * @return
     * @throws Exception
     */
    void importSku(InputStream inputStream, String fileName) throws Exception;

    List<VtRelated> findByListingName();
    Integer clearRelated();
}
